package edu.suda.xsap.mapper;

import edu.suda.xsap.entity.Member;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MemberMapper {
    void save(Member member);
    void update(Member member);
    void delete(Integer id);
    Member findById(Integer id);
    Member findByName(String name);
    List<Member> findAll();


}
